package com.hwadee.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;
import lombok.ToString;

/**
 * 
 * @TableName exam
 */
@TableName("exam")
@Data
@ToString
public class Exam {
    @TableId(type = IdType.AUTO)
    private Integer  id;

    @TableField("name")
    private String name;

    @TableField("start_time")
    private LocalDateTime  startTime;

    @TableField("end_time")
    private LocalDateTime endTime;

    @TableField("description")
    private String description;

    @TableField("questions")
    private String questions;

    // Getters and Setters
}